package com.nanjia.boot.myflow.deliveryaddressflow.converter;

import com.nanjia.boot.myflow.deliveryaddressflow.model.vo.DeliveryAddressFlowVO;
import org.mapstruct.Mapper;
import com.nanjia.boot.myflow.deliveryaddressflow.model.entity.DeliveryAddressFlow;
import com.nanjia.boot.myflow.deliveryaddressflow.model.form.DeliveryAddressFlowForm;

/**
 * 收货/收票信息流水对象转换器
 *
 * @author 周洋
 * @since 2025-07-29 16:44
 */
@Mapper(componentModel = "spring")
public interface DeliveryAddressFlowConverter{

    DeliveryAddressFlowForm toForm(DeliveryAddressFlow entity);

    DeliveryAddressFlow toEntity(DeliveryAddressFlowForm formData);

    DeliveryAddressFlowVO toVO(DeliveryAddressFlow entity);
}